/*
 * PriorityQueue.java
 *
 * Created on July 31, 2006, 3:46 PM
 *
 */

package galronnlp.util;

/**
 *
 * @author Daniel A. Galron
 */
public class PriorityQueue<E> extends SortedLinkedList<E> {
    
    /** Creates a new instance of PriorityQueue */
    public PriorityQueue() {
    }
    
    public PriorityQueue(PriorityQueue pq) {
        super(pq);
    }
    
    public void push(E e) {
        super.insort(e);
    }
    
    public E pop() {
        return super.removeHighest();
    }
    
    public E get() {
        return super.getHighest();
    }
    
}
